package com.mingqijia.gassafety.authority.api.req.operatelog;

import com.mingqijia.gassafety.shared.cqrs.PageableReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 查询$请求
 * @author Damon S.
 * @version v0.2
 * @date 2021-06-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "查询操作日志请求")
public class QueryOperatelogReqDTO extends PageableReq implements Serializable {

    @ApiModelProperty(value = "用户")
    private String userId;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "操作")
    private String operation;

    @ApiModelProperty(value = "持续时间")
    private Long duration;
}
